package com.sgb.businessmodule.entity;

import java.io.Serializable;
import java.util.List;

public class BusinessRequestEntity implements Serializable {
    //预算金额end
    private String budgetAmountEnd;
    //预算金额start
    private String budgetAmountStart;
    //商机分类
    private List<String> categories;
    //区/市code
    private List<String> cityNo;
    //搜索关键字
    private String keyword;
    //上一个商机分类的No
    private String lastCategoryNo;
    //显示条数
    private int limit;
    //true:匹配上述status,false:排除上述status
    private boolean matchStatus = true;
    //商机类型
    private List<String> opportunityTypeNo;
    //页码
    private int page;
    //省code
    private String provinceNo;
    //发布时间end
    private String publishTimeEnd;
    //发布时间start
    private String publishTimeStart;
    //排序字段
    private SortFieldBean sortField;
    //匹配状态
    private List<Integer> status;

    //是否只展示自主订阅
    private boolean onlySubscriptionInformation;

    public boolean isOnlySubscriptionInformation() {
        return onlySubscriptionInformation;
    }

    public void setOnlySubscriptionInformation(boolean onlySubscriptionInformation) {
        this.onlySubscriptionInformation = onlySubscriptionInformation;
    }

    public String getBudgetAmountEnd() {
        return budgetAmountEnd;
    }

    public void setBudgetAmountEnd(String budgetAmountEnd) {
        this.budgetAmountEnd = budgetAmountEnd;
    }

    public String getBudgetAmountStart() {
        return budgetAmountStart;
    }

    public void setBudgetAmountStart(String budgetAmountStart) {
        this.budgetAmountStart = budgetAmountStart;
    }

    public List<String> getCategories() {
        return categories;
    }

    public void setCategories(List<String> categories) {
        this.categories = categories;
    }

    public List<String> getCityNo() {
        return cityNo;
    }

    public void setCityNo(List<String> cityNo) {
        this.cityNo = cityNo;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getLastCategoryNo() {
        return lastCategoryNo;
    }

    public void setLastCategoryNo(String lastCategoryNo) {
        this.lastCategoryNo = lastCategoryNo;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public boolean isMatchStatus() {
        return matchStatus;
    }

    public void setMatchStatus(boolean matchStatus) {
        this.matchStatus = matchStatus;
    }

    public List<String> getOpportunityTypeNo() {
        return opportunityTypeNo;
    }

    public void setOpportunityTypeNo(List<String> opportunityTypeNo) {
        this.opportunityTypeNo = opportunityTypeNo;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getPublishTimeEnd() {
        return publishTimeEnd;
    }

    public void setPublishTimeEnd(String publishTimeEnd) {
        this.publishTimeEnd = publishTimeEnd;
    }

    public String getPublishTimeStart() {
        return publishTimeStart;
    }

    public void setPublishTimeStart(String publishTimeStart) {
        this.publishTimeStart = publishTimeStart;
    }

    public SortFieldBean getSortField() {
        return sortField;
    }

    public void setSortField(SortFieldBean sortField) {
        this.sortField = sortField;
    }

    public List<Integer> getStatus() {
        return status;
    }

    public void setStatus(List<Integer> status) {
        this.status = status;
    }

    public static class SortFieldBean implements Serializable{
        //按时间排序
        private Boolean publishTime;
        //按预算金额排序
        private Boolean budgetAmount;
        //按截止时间排序
        private Boolean endTime;

        public Boolean isBudgetAmount() {
            return budgetAmount;
        }

        public void setBudgetAmount(Boolean budgetAmount) {
            this.budgetAmount = budgetAmount;
        }

        public Boolean isEndTime() {
            return endTime;
        }

        public void setEndTime(Boolean endTime) {
            this.endTime = endTime;
        }

        public Boolean getPublishTime() {
            return publishTime;
        }

        public void setPublishTime(Boolean publishTime) {
            this.publishTime = publishTime;
        }
    }
}
